//
//  ViewController.m
//  下拉放大图片效果
//
//  Created by 叶文凯 on 16/11/25.
//  Copyright © 2016年 葱花思鸡蛋. All rights reserved.
//

#import "ViewController.h"
#import "YKPullDownViewController.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}
- (IBAction)pushAction:(id)sender {
    
    YKPullDownViewController *pullDownVC = [[YKPullDownViewController alloc] init];
    
    [self.navigationController pushViewController:pullDownVC animated:YES];
    
}
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    
    self.navigationController.navigationBar.hidden = NO;
    
}

@end
